package com.glela.goods.model;

public class Goods {

	private long id;//

	private String bn;

	private int brandId;//

	private String name;//

	private String title;// 副标题

	private String labelName;//

	private int suggestedPrice;//

	private int lowestPrice;//

	private String unit;

	private int categoryParentId;

	private int categoryId;

	private String onlineTime;

	private String offlineTime;

	private int talentLimit;

	private int threshold;

	private int ascription;

	private int talentDisplay;

	private int discount;

	private int operateCosting;

	private int scoreRate;

	private int goodsChannelId;

	private String specDesc;

	private String serviceDesc;

	private String remark;

	private String createTime;

	private String wxSmallImgpath;// 微信小图链接

	private String goodsWidthPic;// 产品横图

	private int goodsType;// 商品类型 0:c区商品，1:b区商品

	private int selfSupport;

	private int inventoryNum;/// 库存数

	private int upCount;// 上架次数

	private int downCount;// 下架次数

	private int canShoppingCart = 1;// 该商品是否能加入购物车 1 能加入购物车 0不能加入购物车

	private int salesType;// 销售类型：0正常，1非卖品

	private int isOpenGoods;// 是否是开店商品 0 不是 1 是

	private int hasExtends; // 是否具有扩展属性 0:没有 1:有

	private int storeId; // 店铺ID

	/* 额外属性 begin */
	private int refund; // 可退换货 0:不可退换 1:可以',
	private int promotion; // 使用优惠 :兔币，优惠券，妆币，余额，满减。 0:不可使用 1:可以',
	private int invoice; // 开票 0:不支持 1:可以',
	private int giftPacks; // 作为开店大礼包 0:不可 1:可以',
	private int commision; // 设置获取佣金 0:不可设置 1:可以',
	private int overseasGoods; // 是否海外购渠道 0 不是 1是',
	private int crossBorder; // 跨境税
	/* 额外属性 end */

	public int getIsOpenGoods() {
		return isOpenGoods;
	}

	public void setIsOpenGoods(int isOpenGoods) {
		this.isOpenGoods = isOpenGoods;
	}

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public long getGoodId() {
		return id;
	}

	public void setGoodId(long id) {
		this.id = id;
	}

	public int getScoreRate() {
		return scoreRate;
	}

	public void setScoreRate(int scoreRate) {
		this.scoreRate = scoreRate;
	}

	public int getGoodsChannelId() {
		return goodsChannelId;
	}

	public void setGoodsChannelId(int goodsChannelId) {
		this.goodsChannelId = goodsChannelId;
	}

	public String getServiceDesc() {
		return serviceDesc;
	}

	public void setServiceDesc(String serviceDesc) {
		this.serviceDesc = serviceDesc;
	}

	public String getSpecDesc() {
		return specDesc;
	}

	public void setSpecDesc(String specDesc) {
		this.specDesc = specDesc == null ? null : specDesc.trim();
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark == null ? null : remark.trim();
	}

	public String getBn() {
		return bn;
	}

	public void setBn(String bn) {
		this.bn = bn == null ? null : bn.trim();
	}

	public int getBrandId() {
		return brandId;
	}

	public void setBrandId(int brandId) {
		this.brandId = brandId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name == null ? null : name.trim();
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title == null ? "" : title.trim();
	}

	public String getLabelName() {
		return labelName;
	}

	public void setLabelName(String labelName) {
		this.labelName = labelName == null ? null : labelName.trim();
	}

	public int getSuggestedPrice() {
		return suggestedPrice;
	}

	public void setSuggestedPrice(int suggestedPrice) {
		this.suggestedPrice = suggestedPrice;
	}

	public String getUnit() {
		return unit;
	}

	public void setUnit(String unit) {
		this.unit = unit == null ? null : unit.trim();
	}

	public int getCategoryParentId() {
		return categoryParentId;
	}

	public void setCategoryParentId(int categoryParentId) {
		this.categoryParentId = categoryParentId;
	}

	public int getCategoryId() {
		return categoryId;
	}

	public void setCategoryId(int categoryId) {
		this.categoryId = categoryId;
	}

	public String getOnlineTime() {
		return onlineTime;
	}

	public void setOnlineTime(String onlineTime) {
		this.onlineTime = onlineTime;
	}

	public String getOfflineTime() {
		return offlineTime;
	}

	public void setOfflineTime(String offlineTime) {
		this.offlineTime = offlineTime;
	}

	public int getTalentLimit() {
		return talentLimit;
	}

	public void setTalentLimit(int talentLimit) {
		this.talentLimit = talentLimit;
	}

	public int getThreshold() {
		return threshold;
	}

	public void setThreshold(int threshold) {
		this.threshold = threshold;
	}

	public int getAscription() {
		return ascription;
	}

	public void setAscription(int ascription) {
		this.ascription = ascription;
	}

	public int getTalentDisplay() {
		return talentDisplay;
	}

	public void setTalentDisplay(int talentDisplay) {
		this.talentDisplay = talentDisplay;
	}

	public int getDiscount() {
		return discount;
	}

	public void setDiscount(int discount) {
		this.discount = discount;
	}

	public int getOperateCosting() {
		return operateCosting;
	}

	public void setOperateCosting(int operateCosting) {
		this.operateCosting = operateCosting;
	}

	public String getCreateTime() {
		return createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}

	public String getWxSmallImgpath() {
		return wxSmallImgpath;
	}

	public void setWxSmallImgpath(String wxSmallImgpath) {
		this.wxSmallImgpath = wxSmallImgpath;
	}

	public String getGoodsWidthPic() {
		return goodsWidthPic;
	}

	public void setGoodsWidthPic(String goodsWidthPic) {
		this.goodsWidthPic = goodsWidthPic;
	}

	public int getGoodsType() {
		return goodsType;
	}

	public void setGoodsType(int goodsType) {
		this.goodsType = goodsType;
	}

	public int getLowestPrice() {
		return lowestPrice;
	}

	public void setLowestPrice(int lowestPrice) {
		this.lowestPrice = lowestPrice;
	}

	public int getSelfSupport() {
		return selfSupport;
	}

	public void setSelfSupport(int selfSupport) {
		this.selfSupport = selfSupport;
	}

	public int getInventoryNum() {
		return inventoryNum;
	}

	public void setInventoryNum(int inventoryNum) {
		this.inventoryNum = inventoryNum;
	}

	public int getUpCount() {
		return upCount;
	}

	public void setUpCount(int upCount) {
		this.upCount = upCount;
	}

	public int getDownCount() {
		return downCount;
	}

	public void setDownCount(int downCount) {
		this.downCount = downCount;
	}

	public int getCanShoppingCart() {
		return canShoppingCart;
	}

	public void setCanShoppingCart(int canShoppingCart) {
		this.canShoppingCart = canShoppingCart;
	}

	public int getSalesType() {
		return salesType;
	}

	public void setSalesType(int salesType) {
		this.salesType = salesType;
	}

	public int getHasExtends() {
		return hasExtends;
	}

	public void setHasExtends(int hasExtends) {
		this.hasExtends = hasExtends;
	}

	public int getStoreId() {
		return storeId;
	}

	public void setStoreId(int storeId) {
		this.storeId = storeId;
	}

	public int getRefund() {
		return refund;
	}

	public void setRefund(int refund) {
		this.refund = refund;
	}

	public int getPromotion() {
		return promotion;
	}

	public void setPromotion(int promotion) {
		this.promotion = promotion;
	}

	public int getInvoice() {
		return invoice;
	}

	public void setInvoice(int invoice) {
		this.invoice = invoice;
	}

	public int getCommision() {
		return commision;
	}

	public void setCommision(int commision) {
		this.commision = commision;
	}

	public int getGiftPacks() {
		return giftPacks;
	}

	public void setGiftPacks(int giftPacks) {
		this.giftPacks = giftPacks;
	}

	public int getOverseasGoods() {
		return overseasGoods;
	}

	public void setOverseasGoods(int overseasGoods) {
		this.overseasGoods = overseasGoods;
	}

	public int getCrossBorder() {
		return crossBorder;
	}

	public void setCrossBorder(int crossBorder) {
		this.crossBorder = crossBorder;
	}

	public void LoadExtends(GoodsExtends loadGoodsExtends) {
		this.refund = loadGoodsExtends.getRefund();
		this.promotion = loadGoodsExtends.getPromotion();
		this.invoice = loadGoodsExtends.getInvoice();
		this.giftPacks = loadGoodsExtends.getGiftPacks();
		this.commision = loadGoodsExtends.getCommision();
		this.overseasGoods = loadGoodsExtends.getOverseasGoods();
		this.crossBorder = loadGoodsExtends.getCrossBorder();
	}
}